﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SCG.SolarVengeanceEngine;

namespace SCG.SolarVengeance
{
    public partial class BasePanel : BasePage
    {
        //constructors
        public BasePanel()
            : base()
        {
            InitializeComponent();
        }

        //parent GamePage
        public GamePage GamePage
        {
            get
            {
                return GamePage.Instance;
            }
        }
        
        //access game object
        public SVGame Game
        {
            get
            {
                return MainForm.Game;
            }
        }

        //update each impulse
        public virtual void ImpulseUpdate()
        {
        }
    }
}
